package Commande;

import java.util.TimerTask;

public class CmdMyTask extends TimerTask implements Command {
	
	Command commande;
	
	public CmdMyTask(Command commande){
		this.commande = commande;
	}

	@Override
	public void execute() {
		run();
	}

	@Override
	public void run() {
		commande.execute();
	}

}
